package com.yf.service;

import com.yf.dto.Page;
import com.yf.entity.Department;

public interface DepartmentService {

    void addDepartment(Department department);

    void deleteDepartment(Integer deptId);

    void updateDepartment(Department department);

    Department getDepartmentByDeptId(Integer deptId);

    Page getDepartmentPage(Integer pageNo,Integer pageSize);
}
